<h1>商铺列表</h1>

<div id="product-list">
<div class="TitleShop">
      <div class="TitleShopImg">图片</div>     
      <div class="TitleInfo">商铺信息</div>      
      <div class="TitleOwner">店主</div>
    </div>
<% for shop in @shops %>
<DIV class=HackBox></DIV>
<div class="Shop">
      <div class="ShopImg">
      <%=link_to(image_tag("shoppingCart.jpg",:height=>"40"),:action=>"show_products",:id=>shop.id)%>
      </div>
      <div class="ShopInfo">
        <div class="ShopName"><span class="ShopFont"><%= link_to h(shop.shop_name), {:action=>"show_products",:id=>shop.id} %></span></div>
        <div class="ShopDsc"><span class="ShopFont">主营：<%=h shop.description %></span></div>
      </div>
      
      <div class="ShopOwner"><span class="ShopFont"><%=shop.user.nick_name%></span></div>
    </div>
<% end %>
</div>

